//main.js
// import Vue from "vue"
import Vue from 'vue'
import VueRouter from "vue-router"
Vue.use(VueRouter);
export default new VueRouter({
  routes: [
    {
      path: "/index",
      name: "index",
      component: () => import('../components/Index')
    },
    {
      path: "/",
      redirect: {name: 'index'}
    },
    {
      path: '/team',
      name: 'team',
      component: () => import('../components/Team')
    },
    {
      path: '/search',
      name: 'search',
      component: () => import('../components/Search')
    },
    {
      path: '/article',
      name: 'article',
      component: () => import('../components/Article')
    },
    {
      path: '/project',
      name: 'project',
      component: () => import('../components/Project')
    },
  ]
});